num = [0,1]
i = 2
a = 0
while a <= 100:
    a = num[i-2] + num[i-1]
    if a <= 100:
        num.append(a)
        i += 1
    else:
        break
print(num)




# 做得不错
